import React, { useState, useEffect } from 'react';

export default function(props){
  const [state, setState] = useState()
  const [count, setCount] = useState(0)

  useEffect(() => {

  }, [])

  return (
    <div>
        <p> 你 点击  {count} 次数 </p>
        <button onClick={() => setCount(count+1)} > 点击 </button>
    </div>
  )
}